package ge.unihack.instantdj.protocol.server;

public class Client {

	private int id;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Override
	public int hashCode() {
		return 31 * id;
	}

	@Override
	public boolean equals(Object o) {
		if (!(o instanceof Client)) {
			return false;
		}
		return id == ((Client) o).id;
	}
}
